package com.wtpaint.lib.glide;

import android.content.Context;

import com.wtpaint.lib.glide.cache.MemoryCache;
import com.wtpaint.lib.glide.cache.recycle.BitmapPool;
import com.wtpaint.lib.glide.cache.recycle.DiskCache;
import com.wtpaint.lib.glide.cache.recycle.LruBitmapPool;

public class GlideBuilder {

    private MemoryCache memoryCache;

    private DiskCache diskCache;

    private BitmapPool bitmapPool;

    public void setMemoryCache(MemoryCache memoryCache) {
        this.memoryCache = memoryCache;
    }

    public void setDiskCache(DiskCache diskCache) {
        this.diskCache = diskCache;
    }

    public void setBitmapPool(BitmapPool bitmapPool) {
        this.bitmapPool = bitmapPool;
    }

//    public Glide build(Context context) {
//        if (null == bitmapPool){
////            bitmapPool = new LruBitmapPool();
//        }
//    }
}
